package com.my.project.eurekaconsumer.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Author: lsg
 * @Date: Created 2018-07-24 11:59
 */
@Component
@FeignClient(name = "eureka-client")
public interface IUserService {

    @GetMapping("/user/hello")
    public String getString();
}
